package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Car;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CarMapper {
    List<Car> getAllCar();
    boolean insertCar(Car car);
    boolean deleteCar(int id);
    boolean updateCar(Car car);
    Car getCarById(int id);
    Car getCarByBaseId(int baseid);
}
